#import "WalkScrollView.h"
#import "Screen.h"
@class Buffer;
@interface WalkScreen:Screen<UIScrollViewDelegate, TapWalkMapDelegate> {
  @private 
	Sprite* prompt;
	WalkScrollView* screen;
	TileSet* tileSet,*spriteSet,*shopSet,*itemSet,*gatewaySet;	
	UIImage* back;
	NSMutableArray* tiles,*people,*items,*shops,*gateways;
	int tileSize,spriteSize,shopSize,itemHeight,itemWidth,movement;
	Entity* player;

    UIScrollView* scrollscreen;
    CGPoint goal;
    WalkMap* map;
}
-(id) initWithFrame:(CGRect)frame buffer:(Buffer*)buffer;
@property (nonatomic, retain) TileSet* tileSet,*spriteSet,*shopSet,*itemSet,*gatewaySet;
@property (nonatomic, retain) NSMutableArray* tiles,*people,*shops,*items,*gateways;
@property (nonatomic, retain) Entity* player;
@property int spriteSize,tileSize;


-(id) initWithProperties:(NSString*)name;
-(void)initTiles:(NSMutableDictionary *)map;
-(void)initPeople:(NSMutableDictionary *)map;
-(void)initShops:(NSMutableDictionary*) map ;
-(void)initItems:(NSMutableDictionary*) map ;
-(void)initGateways:(NSMutableDictionary*) map ;

@end
